*###########################################################*
* CMPS 2020 Native Hawaiian Sample        				    *
* Phan and De Lude	                                        *
* Journal: PS: Political Science & Politics                 *
* Stata Replication Code                                    *
* Tested on Stata 16.0                                      *
*###########################################################*

clear all
clear matrix
set more off, perm
*** set your own working directory and use the CMPS_20_NH folder***
cd "/Users/leilani/Desktop/CMPS_20_NH/"
use "cmps2020_nativehawaiiansample_replication.dta", replace

*** Data values were populated in STATA and pulled to create two tables in Excel ***

***************
*** Table 1 ***
***************
*** Data values for Table 1 were populated in STATA using the 2020 CMPS, and values in comments represent the number of responses that identitfy with the survey questions. Only pull those who claim Native Hawaiian identity or Native Hawaiian Pacific Islander in Q803 ***

*** Self-Identify as Native Hawaiian ***
	tab S2_Racer7 
	*** pull 137 ***
	tab S2_Racer7 if S2_Racer7==1 
	*** pull 137 ***

*** Self-Identify Native Hawaiian as Primary Race ***
	tab S2_Race_Prime 
	*** pull 106 ***
	tab S2_Race_Prime if S2_Racer7==1 
	*** pull 106 ***

*** Primary Race out of NHPI ***
	tab S8_Pacific 
	*** pull 133 ***
	tab S8_Pacific if S2_Racer7==1 
	*** pull 117 ***

*** Which racial category did you choose on the 2020 U.S. Census? ***
	tab Q803 
	*** pull 326 ***
	tab Q803 if S2_Racer7==1 
	*** pull 87 ***

*** NH Mother ***
	tab Q797r7 
	*** pull 108 ***
	tab Q797r7 if S2_Racer7==1 
	*** pull 70 ***

*** NH Father ***
	tab Q798r7 
	*** pull 119 ***
	tab Q798r7 if S2_Racer7==1 
	*** pull 67 ***

*** S2_M. Do you consider yourself to be mixed race or multiracial? NH ***
	tab S2_M 
	*** pull 111 ***
	tab S2_M if S2_Racer7==1 
	*** pull 111 ***

***************
*** Table 2 ***
***************
*** Data values of Table 2 were populated in STATA using the 2020 CMPS, and put in a table in Excel ***

*** State of residence if NH of NH who Self-Identify in S2_Racer7
	tab S4 if S2_Racer7==1

*** Age of NH who Self-Identify in S2_Racer7 ***
	tab S5_Age if S2_Racer7==1

*** Gender of NH who Self-Identify in S2_Racer7 ***
	tab S3b if S2_Racer7==1

*** Education S13. What is the highest level of education you completed? ***
	tab S13 if S2_Racer7==1

*** Q14 Employment 814. Are you currently… ***
	tab Q814 if S2_Racer7==1

*** Location S14. When you think about the community that you live in, which comes closest to how you would describe it? ***
	tab S14 if S2_Racer7==1


